package main

import (
	"fmt"
	"io/ioutil"
	"strings"
)

func main() {
	bs, _ := ioutil.ReadFile("t.txt")
	content := string(bs)
	lines := strings.Split(content, "\n")
	for _, line := range lines {
		c := "#" + strings.ReplaceAll(line, "\t", "#")
		lastSharp := strings.LastIndex(c, "#")

		c = c[:lastSharp+1] + " " + c[lastSharp+1:]
		fmt.Println(c)
	}
}
